/**   
* @{#} FuncNode.java Create on 2013-8-12 上午8:28:30   
*   
* Copyright (c) 2012 by Baidu.   
*/
package objtable.engine.xmlnode;


import objtable.core.TableCenter;
import objtable.engine.ExeNode;
import objtable.engine.xmlnode.gen.Compute;

/**   
* @author <a href="mailto:zhangbo07@baidu.com">zhangbo07</a>  
* @version 1.0   
*/
public class ComputeNode extends ExeNode {
	private Compute compute;

	public Compute getCompute() {
		return compute;
	}

	public void setCompute(Compute compute) {
		this.compute = compute;
	}

	@Override
	public void exeNode() {
		TableCenter.computeTableData(compute.getTable(), compute.getExpress());
	}
}
